<core:WRAP file="pub/layout.html"  placeholder="Content">

<td class="mini" width="100%" valign="top" align="left" >
<table width="100%" border="0" style="padding-left:15;" cellpadding="0" cellspacing="0">
<tr>
<td>
	<core:include file="pub/myprofile/inc.topmenu.html">
</td></tr>

<tr><td><br><table width="100%" border="0" cellpadding="0" cellspacing="-1">
<tr><th class="lightblue" align="left">MY PROFILE</th>
<th class="lightblue" align="right" style="padding-right:5;">Welcome, {$firstname} {$lastname}</th></tr></table>
</td>
</tr>

<tr><td><core:include file="pub/myprofile/inc.menu.html"></td></tr>

<tr><td><br><table width="100%">
<td class="textlogin" width="20%"> <b>Your Status:</b></td>
<td class="textlogin">{$status}</td>
<td class="textlogin" style="font-size:10;"></td>
<td align="right"> <a href="register.htm" class="topcontmenu">Register</a>&nbsp;&nbsp;&nbsp;</td>
</tr>
</table></td></tr>

<tr><td><table width="100%">
<td class="textlogin"  width="20%"> <b>Submit:</b></td>
<core:optional for="artwriter">
<td><a href="articles/submit.htm" class="topcontmenu">Article</a></td>
</core:optional>
<td><a href="players/submit.htm" class="topcontmenu">Player profile</a></td>
<td ><a href="teams/submit.htm" class="topcontmenu">Team profile</a></td>
<td ><a href="leagues/submit.htm" class="topcontmenu">Camp/league</a></td>
<td ><a href="calendar/submit.htm" class="topcontmenu">Calendar event</a></td>
</tr>
</table></td></tr>
<tr><td><hr size="4" class="login"></td></tr>
<tr><td><table>
<tr><td><img src="images/info_ico.jpg"></td>
<td>&nbsp;<img src="images/notasubscriber.gif"></td>
<td>&nbsp;<a href="subscribe.htm"><img border="0" src="images/subscribe.gif"></a></td>
</tr></table></td></tr>
<tr><td><hr size="4" class="login"></td></tr>

<core:optional for="exlogin">
<tr><td class="textlogin" style="font-size:12;padding-left:20;color:red;">
User with such username already registered.
</td></tr>
</core:optional>
<tr><td>

<form method="post" name="myprofile_form" runat="server">
<table width="100%">
<input type="hidden" name="message" value="">
<ERRORSUMMARY id='Summary'>
            <tr><td class="textlogin" style="font-size:12;padding-left:20;">
                <list:ITEM>
                    <FONT COLOR="RED">{$ErrorMessage}</FONT>
                    <list:SEPARATOR>
                        <BR>
                    </list:SEPARATOR>
                </list:ITEM>
             </td>   </tr>
</ERRORSUMMARY>

<core:optional for="index">
<core:include file="pub/myprofile/accountinfo.html">
</core:optional>

<core:optional for="chngpassword">
<core:include file="pub/myprofile/changepassword.html">
</core:optional>

</table>
</form>
</td></tr>

</table>
</td>
